<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- 引入主题样式 -->
<link href="themes/gray/easyui.css" rel="stylesheet">
<!-- 引入图标的样式 -->
<link href="themes/icon.css" rel="stylesheet">
<!-- 先引入jquery -->
<script type="text/javascript" src="js/jquery-1.7.2.js"></script>
<!-- 引入easyui -->
<script type="text/javascript" src="js/jquery-1.7.2.js"></script>
<script type="text/javascript" src="js/jquery.easyui.min.js"></script>
<script type="text/javascript" src="js/easyui-lang-zh_CN.js"></script>
</head>
<script type="text/javascript">
$(function(){
		$.ajax({
			url:'detail.do',
			type:'post',
			data:{'cid':${cid}},
			dataType:'json',
			success:function(data){
				console.log(data.content);
				$('#txt').append("<h4>"+data.content+"</h4>")
			}
			
		})
	
	$('#dd').tooltip({
		position: 'right',
		content: '<span style="color:#fff">亲，点击这里可以返回首页哦</span>',
		onShow: function(){
			$(this).tooltip('tip').css({
				backgroundColor: '#666',
				borderColor: '#666'
				});
			}});
	
		$("a").css('text-decoration','none');
});
</script>
<body>
<a id="dd" href="main.jsp">返回首页</a>
	<div id="txt"></div>
</body>
</html>